//package com.immyc.model.controller;
//
//import com.immyc.model.entity.User;
//import com.immyc.model.service.IUserService;
//import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.util.IdGenerator;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @Description:
// * @Author:mayc
// * @Date:2019/5/12 22:01
// */
//@RestController
//public class UserController {
//
//    @Autowired
//    private IUserService userService;
//
//    @GetMapping("hello/{name}")
//    public String hello(@PathVariable String name) {
//        User u = new User();
//        u.setId(123412L);
//        u.setName(name);
//        u.setNickName(name);
//        u.setCertification("123456");
//        u.setLoginAccount(name);
//        u.setEmail("23@qq.com");
//        u.setPhone("13773737373");
//        u.setGender(0);
//        u.setCreateTime(System.currentTimeMillis());
//        u.setUpdateTime(System.currentTimeMillis());
//        u.setStatus(0);
//        this.userService.save(u);
//        return "OK";
//    }
//
//
//}
